package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the EX_TRANSMISION database table.
 * 
 */
@Entity
@Table(name="EX_TRANSMISION")
public class ExTransmision implements Serializable {
	private static final long serialVersionUID = 1L;
	private ExTransmisionPK id;
	private String errorCodigo;
	private String estado;
	private Date tmstmpA1;
	private Date tmstmpA2;
	private Date tmstmpPt;
	private Date tmstmpTx;

    public ExTransmision() {
    }


	@EmbeddedId
	public ExTransmisionPK getId() {
		return this.id;
	}

	public void setId(ExTransmisionPK id) {
		this.id = id;
	}
	

	@Column(name="ERROR_CODIGO", length=6)
	public String getErrorCodigo() {
		return this.errorCodigo;
	}

	public void setErrorCodigo(String errorCodigo) {
		this.errorCodigo = errorCodigo;
	}


	@Column(nullable=false, length=2)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_A1")
	public Date getTmstmpA1() {
		return this.tmstmpA1;
	}

	public void setTmstmpA1(Date tmstmpA1) {
		this.tmstmpA1 = tmstmpA1;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_A2")
	public Date getTmstmpA2() {
		return this.tmstmpA2;
	}

	public void setTmstmpA2(Date tmstmpA2) {
		this.tmstmpA2 = tmstmpA2;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_PT")
	public Date getTmstmpPt() {
		return this.tmstmpPt;
	}

	public void setTmstmpPt(Date tmstmpPt) {
		this.tmstmpPt = tmstmpPt;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_TX")
	public Date getTmstmpTx() {
		return this.tmstmpTx;
	}

	public void setTmstmpTx(Date tmstmpTx) {
		this.tmstmpTx = tmstmpTx;
	}

}